package com.jiuyi.service;

import com.jiuyi.common.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * DATA: 2022/10/20
 * Author: 晨夕
 */
public interface CommonService {
    //文件上传
    R uploadFile(MultipartFile file);

    //文件下载
    void downloadFile(String name, HttpServletResponse response);
}
